/**
 * @format
 * @Author: TC
 * @Date: 2025-04-26 08:34:25
 * @Last Modified by: TC
 * @Last Modified time: 2025-06-20 16:12:32
 */

import { PreloadManager } from "./Manager/PreloadManager";
import { BattlerManager as BattleManager } from "./Module/Game/Manager/BattleManager";

/**
 * 游戏入口
 */
export class MyGame {
    /**
     * 预加载管理
     */
    private _preloadMgr: PreloadManager;
    public get preloadMgr(): PreloadManager {
        return this._preloadMgr || (this._preloadMgr = new PreloadManager());
    }
    /**
     * 战斗管理
     */
    private _battleMgr: BattleManager;
    public get battleMgr(): BattleManager {
        return this._battleMgr || (this._battleMgr = new BattleManager());
    }
}
export const myGame = new MyGame();
